package org.linlinjava.litemall.wx.vo.packagegoods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

@ApiModel("商品属性")
@Data
public class GoodsPropertyVO {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("值")
    private List<GoodsDetailPropertyVO> vos;

    @Data
    public static class GoodsDetailPropertyVO {
        @ApiModelProperty("名称")
        private String name;
        @ApiModelProperty("选中")
        private Boolean isSelected;
    }

}
